<%@ Import namespace="Sedna.Core.Globalization" %>
<%@ Register Tagprefix="coreims" Namespace="Sedna.Core.Controls" Assembly="Sedna.Controls" %>
<%@ Register Tagprefix="tiles" Namespace="Sedna.Core.Tiles.Holder" Assembly="Sedna.Controls" %>
<%@ Page language="c#" Codebehind="login.aspx.cs" AutoEventWireup="false" Inherits="Sedna.Core.pages.login" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
	<HEAD>
		<title>CoreIMS Enterprise Edition</title>
		<style type="text/css">
.label { PADDING-RIGHT: 5px; FONT-WEIGHT: bold; FONT-SIZE: 11px; PADDING-BOTTOM: 5px; COLOR: black; FONT-FAMILY: Arial; TEXT-ALIGN: right }
.errorlabel { PADDING-RIGHT: 5px; FONT-WEIGHT: bold; FONT-SIZE: 11px; PADDING-BOTTOM: 5px; COLOR: red; FONT-FAMILY: Arial; TEXT-ALIGN: right }
.inputsmall { BORDER-RIGHT: #034068 1px solid; BORDER-TOP: #034068 1px solid; MARGIN-BOTTOM: 5px; FONT: 11px Arial; BORDER-LEFT: #034068 1px solid; WIDTH: 120px; BORDER-BOTTOM: #034068 1px solid; BACKGROUND-COLOR: white }
.brightbutton { BORDER-RIGHT: #034068 1px solid; PADDING-RIGHT: 1px; PADDING-BOTTOM: 20px; BORDER-TOP: #034068 1px solid; MARGIN-TOP: 10px; MARGIN-BOTTOM: 10px; PADDING-LEFT: 1px; FONT-WEIGHT: bold; FONT-SIZE: 11px; PADDING-BOTTOM: 1px; BORDER-LEFT: #034068 1px solid; WIDTH: 80px; COLOR: black; PADDING-TOP: 1px; BORDER-BOTTOM: #034068 1px solid; FONT-FAMILY: Arial; BACKGROUND-COLOR: #e0f0ff; FFDD99: ; 034068: }
.loginformtable { BORDER-RIGHT: #a8bace 1px solid; BORDER-TOP: #a8bace 1px solid; BORDER-LEFT: #a8bace 1px solid; BORDER-BOTTOM: #a8bace 1px solid; BACKGROUND-COLOR: #ffffff; cellspacing: 0 }
.buildindicator { PADDING-RIGHT: 5px; FONT-SIZE: 10px; PADDING-BOTTOM: 5px; COLOR: black; FONT-FAMILY: Arial; TEXT-ALIGN: left }
.header1 { PADDING-TOP: 20px; PADDING-BOTTOM: 10px; PADDING-RIGHT: 20px; PADDING-LEFT: 20px; FONT-WEIGHT: bold; FONT-SIZE: 20px; HEIGHT: 40px; COLOR: #034068; FONT-FAMILY: Arial; TEXT-ALIGN: CENTER }
.header2 { PADDING-BOTTOM: 10px; PADDING-RIGHT: 20px; PADDING-LEFT: 20px; FONT-WEIGHT: bold; FONT-SIZE: 15px; HEIGHT: 40px; COLOR: #034068; FONT-FAMILY: Arial; TEXT-ALIGN: CENTER }
</style>
		<script language="javascript">		
	function checkFrame(){
		if(parent.window.frames.length!=0) {
			parent.window.navigate("<%=Request.ApplicationPath%>/");
        }else if(window.opener!=null){
			window.opener.navigate("<%=Request.ApplicationPath%>/");
			window.close();
        }
	}
		</script>
	</HEAD>
	<%--<body bgcolor="#ffffff" topmargin="0" leftmargin="0" onload="checkFrame()">--%>
	<body bgcolor="#ffffff" leftmargin="0" onload="checkFrame()">
		<form height="100%" valign = "Bottom" id="Form1" method="post" runat="server" >
		    <coreims:ImsJavascriptEmitter ID="ImsJavascriptEmitter1" runat="server" />
			<TABLE width="100%" cellspacing="0" cellpadding="0"><TR><TD style="border-bottom:4px solid #FF0000; height: 54px; vertical-align:middle;"><a href="http://www.us.hsbc.com"><coreims:ImsImage ID="ImsImage1" RelativePath="hsbc_logo_localbank.gif" alt="The world's local bank" runat="server" style="margin-left: 10px;"/></a></TD></TR></TABLE>
			<table width="100%" valign="bottom" height="80%" style="BACKGROUND-IMAGE: url(<%=Request.ApplicationPath%>/images/globe_bgrnd.gif); BACKGROUND-REPEAT: no-repeat">
			    <tr>
			        <td height="40%"></td>
			    </tr>
				<TR height="100%" valign="Middle">
					<TD height="100%" width="100%" align="center" valign="Middle">
						<%--<coreims:ImsContainer id="loginContainer" configurationId="configuration.login.LoginContainer" runat="server" />--%>
						<!--<tiles:PagePlaceHolder ID="MainPlaceHolder" _runat="server"/>-->
						<tiles:PagePlaceHolder ID="ContentPlaceHolder" runat="server" />
					</TD>
				</TR>
			</table>
		</form>
	</body>
</HTML>
